package factory.components;

import core.Component;
import core.Coordinate;
import factory.ComponentInterface;

public class QuaryCrane implements ComponentInterface {
	private final Coordinate size = new Coordinate(2, 2);
	private Component component;

	public QuaryCrane() {
		component = new Component(new Coordinate(0, 0), size);
	}

	public QuaryCrane(Coordinate position) {
		component = new Component(position, size);
	}

	public Coordinate getSize() {
		return component.getSize();
	}

	public void setSize(Coordinate size) {
		component.setSize(size);
	}

	public Coordinate getPosition() {
		return component.getPosition();
	}

	public void setPosition(Coordinate position) {
		component.setPosition(position);
	}
}